package com.mihu.stmall.manager.service;

import com.mihu.stmall.manager.entiy.Goods;
import com.mihu.stmall.manager.entiy.GoodsPic;

import java.util.List;

public interface GoodsPicService {

    //添加

    int addPatch(List<GoodsPic> pics);

    //根据商品ID删除
    int removeByGoodsId(Integer goodsId);

    List<GoodsPic>  selectByGoodsId(Integer goodsId);

    int edit(List<GoodsPic> pics,List<GoodsPic> goodsPic);

}
